package com.gdkj.constant;

public class CodeConstants {

    /**
     * 81开头 通用code
     */
    public static final Integer COMMON_REQUEST_LIMIT_CODE = 81001; // 请求过于频繁
    public static final Integer TOKEN_AUTH_FAIL_CODE = 81002; // token认证失败
    public static final Integer USER_INFO_NOT_EXIST = 81003; // 用户信息不存在
    public static final Integer ROOM_INFO_NOT_EXIST = 81004; // 房主信息不存在
    public static final Integer ONLINE_USER_SET_DATA_NOT_EXIST = 81005; // 用户在线数据异常
    public static final Integer HIT_IP_BLACK_LIST = 81006; // 命中ip黑名单
    public static final Integer HIT_DEVICE_BLACK_LIST = 81007; // 命中设备黑名单
    public static final Integer USER_MUTE_ERROR_CODE = 81008; // 禁言
    public static final Integer CONTENT_ILLEGAL_ERROR_CODE = 81009; // 内容信息敏感
    public static final Integer SIGN_ERROR = 81010; // 签名验证失败


    /**
     * 82开头 开播类code
     */
    public static final Integer REAL_NAME_AUTH_ERROR = 82001; // 请先进行身份认证或等待审核
    public static final Integer MAINTAINING = 82002; // 系统维护中
    public static final Integer USER_DISABLE = 82003; // 用户已被禁用
    public static final Integer USER_FORBIDDEN_PLAY = 82004; // 您因违反相关规定被永久禁播
    public static final Integer USER_REPEAT_PLAY = 82005; // 复播成功
    public static final Integer REPEAT_PLAY_TYPE_ERROR = 82006; // 复播类型错误
    
    /**
     * 83开头 房间code
     */
    public static final Integer BLACKED_BY_USER = 83001;  // 该用户已将你拉黑
    public static final Integer KICK_BY_USER = 83002;  // 该用户已将你踢出房间
    public static final Integer ROOM_STOPPED = 83003;  // 房间已关
    public static final Integer ROOM_NUMBER_USE_COMPLETE = 83004;  // 房间号已使用完毕
    public static final Integer BLACK_BY_USER = 83005;  // 你已将该用户拉黑
    public static final Integer ROOM_BASE_INFO_ERROR = 83006;  // 房间信息更新失败
    public static final Integer REPEAT_CALL_TO_MUCH = 83007; // 召集玩友太频繁
    public static final Integer ALREADY_EXIT_ROOM = 83008; // 主播退出房间
    public static final Integer AUDIENCE_ALREADY_EXIT_ROOM = 83009; // 用户退出房间
    public static final Integer DO_NOT_HAVE_ROOM = 83010; // 没有房间信息

    /**
     * 84开头 麦位相关code
     */
    public static final Integer MIKE_NUMBER_ERROR = 84001;  // 麦位号错误，不存在
    public static final Integer USER_ALREADY_AT_MIKE = 84002;  // 用户已在麦上
    public static final Integer MIKE_INFO_NOT_EXIST = 84004;  // 麦位信息不存在
    public static final Integer MIKE_HAVE_USER = 84006; // 麦位已有人
    public static final Integer USER_NOT_AT_MIKE = 84007;  // 用户不在麦上
    public static final Integer MIKE_FORBIDDEN = 84008;  // 当前麦位被封
    public static final Integer NOT_HAVE_EMPTY_MIKE = 84009;  // 不存在空麦位
    public static final Integer MIKE_INVITING = 84010;  // 用户邀请中
    public static final Integer MIKE_BANING = 84011;  // 你画我猜强制退房限制：创建房间
    public static final Integer DRAW_GUSS_LIMIT = 84012;  // 你画我猜游戏中限制上麦
    public static final Integer MIKE_KTV_MUTE_MIKE_LIMIT = 84013;  // ktv麦克风操作限制
    public static final Integer DRAW_GUSS_BAN = 84014;  // 你画我猜强制退房限制：进房或者上麦
    public static final Integer ALREADY_INVITING_REPEAT = 84015; // 已经邀请过了，请稍后重试
    public static final Integer USER_IS_VIP = 84016; // 你不能下麦VIP用户
    public static final Integer USER_IS_VIP_NOT_MUTE = 84017; // 你不能静音VIP用户
    public static final Integer DRAW_GUSS_LEAVE_MIKE_ERROR = 84018;  // 你画我猜强非准备和等待阶段无法下麦
    public static final Integer GAMING_MIKE_LIMIT = 84019; // 游戏中不能上麦

    /**
     * 85开头 用户相关code
     */
    public static final Integer USER_NOT_EXIT = 85001;  // 用户不存在
    public static final Integer USER_HAVE_EXIT = 85002;  // 用户已存在
    public static final Integer CODE_ERROR = 85003;  // 校验失败
    public static final Integer USER_CANCEL = 85004;  // 用户已注销
    public static final Integer USER_NOT_VIP = 85005; // 用户不再是VIP
    public static final Integer USER_HAVE_BAN = 85006; // 用户被禁用
    public static final Integer NAME_OUT_USE = 85007; // 账号不能被使用
    public static final Integer USER_COIN_NOT_ENOUGH = 85008; // 用户金币不足
    public static final Integer USER_K_COIN_NOT_ENOUGH = 85009; // 用户k钻不足，金币可以兑换
    public static final Integer USER_ACCOUNT_MODIFIED = 85010; // 用户账号修改次数已达上限
    public static final Integer USER_ACCOUNT_EXIST = 85011; // 账号已存在
    public static final Integer USER_ACCOUNT_FORBIDDEN = 85012; // 账号包含敏感信息，请修改
    public static final Integer USER_ACCOUNT_CANNOT_UPDATE = 85013; // 账号不能修改

    /**
     * 86匹配
     */
    public static final Integer MATCH_WAIT = 86001; // 匹配等待流程
    
    
    /**
    * 87开头 你画我猜游戏相关
    */
    public static final Integer DRAW_CHANGE_TO_MUCH = 87001; //换词次数太多
    public static final Integer DRAW_PAY_NOT_ENOUGH = 87002; //换词金币不足
    public static final Integer READY_CANCEL_TOO_MUCH = 87003; //每局只能取消准备1次

    /**
     * 88开头 ktv和背景音乐相关
     */
    public static final Integer KTV_ADD_MUSIC_LIMIT = 88001; //最多点歌99首
    public static final Integer KTV_ADD_MUSIC_CLICKED_LIMIT = 88002; //歌曲已点
    public static final Integer KTV_MUSIC_NOT_FOUND = 88003; //歌曲不存在
    public static final Integer KTV_PLAY_MUSIC_FAIL_NOT_MIKE = 88004; //播放歌曲失败，用户不在麦上

    /**
     * 89开头 like me相关
     */
    public static final Integer LIKE_ME_UID_BLACK = 89001; // 你拉黑了用户
    public static final Integer LIKE_ME_TO_UID_BLACK = 89002; // 用户将你拉黑
    public static final Integer LIKE_ME_NUM_INSUFFICIENT = 89003; // like me次数不足


    /**
     * 90开头 星球探索状态码
     */
    public static final Integer FILLING_OTHER_USER_SUCCESS = 90001; // 填土成功
    public static final Integer FILLING_FAIL_SHIELD_SUCCESS = 90002; // 填土失败，对方用护盾成功抵挡
    public static final Integer FILLING_FAIL_TODAY_LIMIT_REACHED = 90003; // 填土失败，对方今日已达上限
    public static final Integer USER_K_BEAN_NOT_ENOUGH = 90004; // 用户金豆不足
    // 用户不存在
    public static final Integer NO_USER = 90005;
    // 用户已领取过初始钻石
    public static final Integer USER_HAS_RECEIVE = 90006;
    // 用户未开启签到权限
    public static final Integer NO_SIGN_CONTROLL = 90007;
    // 用户今日已签到
    public static final Integer HAS_SIGN = 90008;
    // 用户当天被关小黑屋时间已经用完
    public static final Integer CLOSE_SMALL_HOUSE_TIME_OUT = 90009;
    // 用户小黑屋道具数量不足
    public static final Integer SMALL_HOUSE_QUANTITY_NOT_ENOUGH = 90010;

    public static final Integer FILLING_SUCCESS_PART_BY_SHIELD = 90011; // 填土部分成功(护盾抵挡)
    public static final Integer FILLING_SUCCESS_PART_BY_LIMIT_REACHED = 90012; // 填土部分成功(达到上限)
    // 钻石不足
    public static final Integer USER_NOT_ENOUGH_ENERGY = 900013;
    // 用户正在被关小黑屋
    public static final Integer USER_IN_DARK_HOUSE = 900014;
    // 用户正挖掘中
    public static final Integer USER_IS_DIGGING = 900015;
    // 已完成探索
    public static final Integer DIGGING_OVER = 900016;

    /**
     * 91开头 数字炸弹游戏状态码
     */
    // 请输入范围内数字
    public static final Integer NOT_IN_RANGE = 910001;
    // 轮到用户昵称了
    public static final Integer NOT_YOUR_TURN = 910002;
    // 扫雷-用户已离开
    public static final Integer USER_LEVER = 910003;

    /**
     * 92开头 娃娃机游戏状态码
     */
    // 签名错误
    public static final Integer CHILDREN_MACHINE_SIGN_ERROR = 920001;
    // 请求签名已过期
    public static final Integer CHILDREN_MACHINE_SIGN_EXPIRED = 920002;
    // 用户金币不足，需要充值
    public static final Integer CHILDREN_MACHINE_USER_COIN_NOT_ENOUGH = 920003;

    /**
     * 93开头 电玩游戏状态码
     */
    // 无法进入，请提升VIP等级
    public static final Integer VIP_LEVEL_NOT_ENOUGH = 930001;

    /**
     * 订单不存在
     */
    public static final Integer ORDER_NOT_EXIST = 940001;
}
